const io = require('socket.io-client')

const socket = io('http://localhost:3001')

socket.on('connect', () => {
  console.log('管理系统 连接上了 websocket server')
})

module.exports = socket
